<!--
  @author duanzuocai
  @since 18/10/24 15:24
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<div th:fragment="query">

    <div class="zmn-form-item">

        <div class="item-inline">
            <label class="inline-label">服务分类：</label>
            <div class="inline-box">
                <div class="inline-box-cc">
                    <div class="box-input-inline">
                        <select name="servCategId" id="servCategId" lay-filter="servCategId"
                                th:value="${vo.servCategId}">
                            <option value="0">请选择</option>
                            <zmn th:each="categ:${servCategs}">
                                <option th:value="${categ.categId}" th:selected="${categ.categId == vo.servCategId}"
                                        th:text="${categ.name}">分类名称
                                </option>
                            </zmn>
                        </select>
                    </div>
                </div>
            </div>
        </div>

        <div class="item-inline col2">
            <label class="inline-label">产品分类：</label>
            <div class="inline-box">
                <div class="inline-box-cc">
                    <div class="box-input-inline col2">
                        <select name="categOneId" id="categOneId" lay-filter="categOneId" th:value="${vo.categOneId}"
                                lay-search="">
                            <option value="">一级分类</option>
                            <zmn th:each="categ:${categOnes}">
                                <option th:value="${categ.categId}" th:selected="${categ.categId == vo.categOneId}"
                                        th:text="${categ.name}">分类名称
                                </option>
                            </zmn>
                        </select>
                    </div>
                    <div class="box-input-inline col2">
                        <select name="categId" id="categId" lay-filter="categId" th:value="${vo.categId}" lay-search="">
                            <option value="">二级分类</option>
                            <zmn th:each="categ:${categTwos}">
                                <option th:value="${categ.value}" th:selected="${categ.value == vo.categId}"
                                        th:text="${categ.text}">分类名称
                                </option>
                            </zmn>
                        </select>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="zmn-form-item">
        <div class="item-inline col2">
            <label class="inline-label">产品组：</label>
            <div class="inline-box">
                <div class="inline-box-cc">
                    <div class="box-input-inline col2">
                        <select name="bizType" id="bizType" lay-filter="bizType" th:value="${vo.bizType}"
                                lay-search="">
                            <option value="">业务类型</option>
                            <zmn th:each="bizType:${bizTypeList}">
                                <option th:value="${bizType.key}" th:selected="${bizType.key == vo.bizType}"
                                        th:text="${bizType.value}">分类名称
                                </option>
                            </zmn>
                        </select>
                    </div>
                    <div class="box-input-inline col2">
                        <select name="productGroupId" id="productGroupId" lay-filter="productGroupId"
                                th:value="${vo.productGroupId}" lay-search="">
                            <option value="">二级分类</option>
                            <zmn th:each="productGroup:${productGroupList}">
                                <option th:value="${productGroup.value}"
                                        th:selected="${productGroup.value == vo.productGroupId}"
                                        th:text="${productGroup.text}">分类名称
                                </option>
                            </zmn>
                        </select>
                    </div>
                </div>
            </div>
        </div>


        <div class="item-submit">
            <button class="layui-btn layui-btn-sm" lay-submit="" lay-filter="zmn-form-submit"><i class="layui-icon">查询&#xe615;</i>
            </button>
        </div>
    </div>

</div>